package itheima.zuoye.test3;

public class YamahaMotorcycle  extends Motorcycle{


    public YamahaMotorcycle(String brand, double price) {
        super(brand, price);
    }

    @Override
    public void run() {
        System.out.println(getBrand()+"摩托车行驶中...");
    }

    @Override
    public void navigate() {

    }


}
